# CMakeLists.txt for Blue Engine
# See license.txt
# Copyright (C) 2008 Ryan Capote
project (BLUEENGINE)

include_directories ( includes/BlueEngine/
                      includes/BlueEngine/utils/
                      includes/BlueEngine/tinyxml/
		      includes/BlueEngine/video/
		      sdl/include/ )

link_directories(sdl/)

add_library (BlueEngine  src/tinyxml/tinyxml.cpp
                               src/tinyxml/tinystr.cpp
                               src/tinyxml/tinyxmlerror.cpp
                               src/tinyxml/tinyxmlparser.cpp
                               src/utils/config.cpp
                               src/utils/log.cpp
                               src/utils/timer.cpp
                               src/utils/utils.cpp
			       src/video/videoDriver.cpp )


target_link_libraries(BlueEngine opengl32)
target_link_libraries(BlueEngine glu32)
target_link_libraries(BlueEngine glaux)
target_link_libraries(BlueEngine SDL)
target_link_libraries(BlueEngine SDLmain)

                             

